package com.xhwl.logistics.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

@Setter
@Getter
@TableName("`cent_vehicle`.`vehc_pay_record`")
public class VehiclePayRecord {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private Integer projectId;

    private String parkId;

    private String plateNumber;


    @TableField("bill_id")
    private String accessRecordId;

    @TableField("order_number")
    private String payRecordId;


    @TableField("entry_time")
    private Date enterTime;

    private Date payTime;


    private Integer payMethod;


    private Integer totalMoney;

    private Integer paidMoney;

    private Integer freeMoney;


    @TableField(fill = FieldFill.INSERT)
    private Date createdAt;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updatedAt;

}
